package lambda;

/**
 * @Author Klys
 * @Date 2023/3/5 9:56
 * @Description
 * @Version 1.0
 */
public class User {

    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public User() {
    }

    public User(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "User{" +
                "name='" + name + '\'' +
                '}';
    }

    public static String eat(String s) {
        return "吃" + s;
    }

    public String play() {
        return "玩";
    }

}
